package game.module.mail.logic;

import game.module.mail.bean.MailList.MailItem;

import java.util.Comparator;

public class MailNewToOldComparator implements Comparator<MailItem> {

	@Override
	public int compare(MailItem o1, MailItem o2) {
		return o1.getSendTime().compareTo(o2.getSendTime());
	}

}
